home *** CD-ROM | disk | FTP | other *** search
- @ECHO OFF
- REM You *MUST* rename CHKDSK.EXE to XCHKDSKX.EXE and put this
- REM batch file on your PATH before you use it.
- INWIN
- IF ERRORLEVEL 1 GOTO YesWindow
- ECHO You're not in Windows, so CHKDSK is fine.
- XCHKDSKX
- GOTO End
- :YesWindow
- ECHO Sorry, it's not safe to run CHKDSK.EXE under Windows.
- ECHO Exit Windows and try it again.
- :End